package oopday02;

public class Teacher extends Person{
    double salary;
    Teacher(String name, int age, String address,double salary){
        super("",0,"");
        this.salary=salary;
    }
    void teach(){
        System.out.println(name+"正在教授");
    }
}
